import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import App from './App.vue'
import router from './router/router'
import store from './store/store'

// import '@/permission' // permission control
import globalConstant from '@/utils/constant'
import dictionary from '@/assets/dictionary'

// 一些常量
Vue.prototype.CNST = globalConstant
// 部分下拉列表字典项
Vue.prototype.DICY = dictionary

Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
